package cn.hwadee.muying.entity;

import cn.hwadee.muying.enums.Education;
import cn.hwadee.muying.enums.Level;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import cn.hwadee.muying.commons.base.BaseModel;

/**
 * <p>
 * 职员信息
 * </p>
 *
 * @author Mankind
 * @since 2018-08-06
 */
@TableName("worker_info")
public class WorkerInfo extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;
    /**
     * 照片
     */
    private String image;
    /**
     * 职位id
     */
    private Long job;
    /**
     * 籍贯
     */
    @TableField("native_place")
    private String nativePlace;
    /**
     * 年龄
     */
        
    private Integer age;
    /**
     * 星座
     */
    private String constellation;
    /**
     * 学历
     */
    private Education education;
    /**
     * 工作经验
     */
        
    private Integer experience;
    /**
     * 是否已婚
     */
    private Boolean married;
    /**
     * 入职状态
     */
    @TableField("entry_status")
    private Boolean entryStatus;
    /**
     * 是否空闲
     */
        
    private Boolean free;
    /**
     * 自我介绍
     */
    private String introduction;

    /**
     * 员工等级
     */
    @TableField("worker_level")
    private Level workerLevel;

    @TableField("expected_city")
    private String expectedCity;

    public String getExpectedCity() {
        return expectedCity;
    }

    public void setExpectedCity(String expectedCity) {
        this.expectedCity = expectedCity;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Long getJob() {
        return job;
    }

    public void setJob(Long job) {
        this.job = job;
    }

    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }



    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getConstellation() {
        return constellation;
    }

    public void setConstellation(String constellation) {
        this.constellation = constellation;
    }

    public Education getEducation() {
        return education;
    }

    public void setEducation(Education education) {
        this.education = education;
    }

    public Integer getExperience() {
        return experience;
    }

    public void setExperience(Integer experience) {
        this.experience = experience;
    }


    public Boolean getMarried() {
        return married;
    }

    public void setMarried(Boolean married) {
        this.married = married;
    }

    public Boolean getEntryStatus() {
        return entryStatus;
    }

    public void setEntryStatus(Boolean entryStatus) {
        this.entryStatus = entryStatus;
    }

    public Boolean getFree() {
        return free;
    }

    public void setFree(Boolean free) {
        this.free = free;
    }

    public Level getWorkerLevel() {
        return workerLevel;
    }

    public void setWorkerLevel(Level workerLevel) {
        this.workerLevel = workerLevel;
    }

    @Override
    public String toString() {
        return "WorkerInfo{" +
                "userId=" + userId +
                ", image='" + image + '\'' +
                ", job=" + job +
                ", nativePlace='" + nativePlace + '\'' +
                ", age=" + age +
                ", constellation='" + constellation + '\'' +
                ", education=" + education +
                ", experience=" + experience +
                ", married=" + married +
                ", entryStatus=" + entryStatus +
                ", free=" + free +
                ", workerLevel=" + workerLevel +
                '}';
    }
}
